/*    */ package com.qmsk.business.manage.function.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ 
/*    */ public class DutyFunctionDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfParentId(String pId, String dutyId)
/*    */     throws SQLException
/*    */   {
/* 23 */     Object[] params = { pId, dutyId };
/* 24 */     return getGsonOfParams("selectSqlOfDuty_ParentId", "selectJsonOfDuty_ParentId", 
/* 25 */       params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfRoot(String dutyId) throws SQLException {
/* 29 */     Object[] params = { dutyId };
/* 30 */     return getGsonOfParams("selectSqlOfRoot", "selectJsonOfDuty_ParentId", 
/* 31 */       params);
/*    */   }
/*    */ 
/*    */   public int deleteOfDutyId(String dutyId) throws SQLException {
/* 35 */     Object[] params = { dutyId };
/* 36 */     return update("deleteOfDutyId", params);
/*    */   }
/*    */ 
/*    */   public int insertIntoDuty(String dutyId) throws SQLException {
/* 40 */     Object[] params = { dutyId };
/* 41 */     return update("insertIntoDuty", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.manage.function.dao.DutyFunctionDAO
 * JD-Core Version:    0.5.3
 */